home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
-
- <wml>
-
- <card id="card1" title="Country" newcontext="true">
- <p>
-
- Select a country:
- <select name="country_name" tabindex="2">
-
- <optgroup title="Scandanavia">
- <option value="Denmark">Denmark</option>
- <option value="Finland">Finland</option>
- <option value="Norway">Norway</option>
- <option value="Sweden">Sweden</option>
- </optgroup>
-
- <optgroup title="Europe">
- <option value="France">France</option>
- <option value="Germany">Germany</option>
- <option value="Italy">Italy</option>
- <option value="Spain">Spain</option>
- </optgroup>
-
- </select>
-
- <br/>The capital of<br/>
- $(country_name)<br/>
- is: <u>$(capital)</u><br/>
-
- <!-- Send: the country symbol; a variable for the country; and
- and a variable for the capital name to a WML
- Script. The script will determine the capital for the
- specified country and store the capital in the "$capital"
- variable.
- -->
-
- <do type="accept" label="Find Capital">
- <go href="getCapital.wmls#getCapital('capital','$(country_name)')"/>
- </do>
-
- <do type="help" label="Help">
- <go href="#helpCard"/>
- </do>
-
- </p>
- </card>
-
- <card id="helpCard" title="Help">
- <do type="prev" label="Back">
- <prev/>
- </do>
-
- <p>
-
- Select the name of a country and its
- capital will be found.
-
- </p>
- </card>
-
- </wml>
-